<?php
	$laikas = "12:20:00";
	$sekundes = strrchr($laikas, ":00");
	$valmin = str_replace($sekundes, "", $laikas);
	$minutess = strrchr($valmin, ":");
	$valandos = str_replace($minutess, "", $valmin);
	$minutes = str_replace(":", "", $minutess);
	echo "valandos->".$valandos."<br>";
	echo "minutes->".$minutes."<br>";
	
	echo "temp5->".$temp5."<br>";
	echo "Temp->".$temp."<br>";
	echo "Temp2->".$temp2."<br>";
	echo "Temp3->".$temp3."<br>";
 
	
			//echo $val_trim;
			// echo gettype($val);
			// echo "<br>  Val:".$val;
			// echo "  temp:".$temp;
			// echo "<br>";
			//$out .= $val(H). " val.";
			
			
			
?>
